const {merge} = require('webpack-merge');
const base = require('./webpak.base.conf.js');

const path = require('path');
const OptimizeCss = require('optimize-css-assets-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const webpack = require('webpack');
const auConfig=global.au.config;

module.exports = merge(base, {
    mode: 'production',
    plugins:[
        //使用插件定义全局变量DEV
        new webpack.DefinePlugin({
            DEV:JSON.stringify('production')
        })
    ]

});
